package com.deercrowing.takeaway.vo;

import java.time.LocalDateTime;

public class EmployeesPageVO extends EmployeesVO {
    private Integer page;
    private Integer pageSize;

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public EmployeesPageVO(final Integer id, final String name, final String username, final String password,
                           final String phone, final Short sex, final String idNumber, final Short status,
                           final LocalDateTime updateTime, final Integer page, final Integer pageSize){
        this.setId(id);
        this.setName(name);
        this.setUsername(username);
        this.setPassword(password);
        this.setPhone(phone);
        this.setSex(sex);
        this.setIdNumber(idNumber);
        this.setStatus(status);
        this.setUpdateTime(updateTime);
        this.page = page;
        this.pageSize = pageSize;
    }

    public EmployeesPageVO(){}
}
